#ifndef _SEQLIST_H_
#define _SEQLIST_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define MAX 10
typedef int dataType;

typedef struct {

    dataType buf[MAX]; //元素个数
    int n; //数组个数
}seqlist;

extern seqlist *create_empty_seqlist();
extern void insert_data_seqlist(seqlist *l, dataType data);
extern void print_data_seqlist(seqlist *l);
extern int is_full_seqlist(seqlist *l);
extern int is_empty(seqlist *l);
extern int delete_data(seqlist *l, dataType data);

#endif